package com.minivision.fdiot.rest.param.device;

import com.minivision.fdiot.entity.DeviceFaceSet;
import org.hibernate.validator.constraints.NotBlank;

import com.minivision.fdiot.common.AuthParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Map;

@Setter
@Getter
@ToString
public class UpdateDeviceParam extends AuthParam {

  private static final long serialVersionUID = 1675281097320360880L;
  
  @NotBlank(message = "设备编号不能为空")
  @ApiModelProperty(value = "设备编号", required = true)
  private String sn;
  
  @ApiModelProperty(value = "设备名称")
  private String name;

  @ApiModelProperty(value = "人脸库Token")
  private String facesetTokens;

  private Map<String,DeviceFaceSet> facesetTokenMap;

  
}
